package com.hxxy.wyp.petsLover.common.services.base.backend.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hxxy.wyp.petsLover.common.entities.Message;
import com.hxxy.wyp.petsLover.common.entities.User;
import com.hxxy.wyp.petsLover.common.entities.vo.resp.MessageAnyVo;
import com.hxxy.wyp.petsLover.common.mapper.MessageMapper;
import com.hxxy.wyp.petsLover.common.services.base.backend.MessageService;
import com.hxxy.wyp.petsLover.security.SecurityContextFrontUser;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * @ClassName MessageServiceImpl
 * @Description TODO
 * @Author wyp
 * @Date 2023/1/30 13:24
 * @Version 1.0
 */
@Service
public class MessageServiceImpl extends ServiceImpl<MessageMapper, Message> implements MessageService {
    @Autowired
    private SecurityContextFrontUser securityContextFrontUser;

    @Resource
    private MessageMapper messageMapper;

    @Override
    public List<Message> listMessageAny() {
        List<Message> list=messageMapper.listMessageAny();
        return list;
    }
}
